package liulin.com.discount.fragment;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.Toast;

import liulin.com.discount.R;


/**
 * Created by LiuLin on 2017/3/23.
 */

public class MyInfoFragment extends Fragment {

    private ImageButton imageButton;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View view=inflater.inflate(R.layout.fragment_my_info,container,false);
        imageButton=(ImageButton) view.findViewById(R.id.imb_image_modifier);
        imageButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(getActivity(),"点击修改图片！",Toast.LENGTH_SHORT).show();
            }
        });
        return view;

    }
}
